//#include "hardware.h"
#include "time.h"
#include "pthread.h"

#define DEBUG 1

typedef struct _alarm_tag_t {
	int seconds;
	char message[64];
	time_t time;
	struct _alarm_tag_t* next;
} alarm_t;

extern alarm_t* alarm_list;
extern pthread_mutex_t alarm_mutex;
extern pthread_cond_t alarm_cond;
extern time_t current_time;


